package org.ysu.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;

/**
 * 
 * @TableName clue
 */
@TableName(value ="clue")
@Data
public class Clue implements Serializable {
    /**
     * 走访信息id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 写出线索的省市县干部id
     */
    private Integer ccId;

    /**
     * 核实员id
     */
    private Integer vId;

    /**
     * 贫困户id
     */
    private Integer fId;

    /**
     * 户主id
     */
    private Integer pId;

    /**
     * 详细信息
     */
    private String detail;

    /**
     * 人力风险
     */
    private Integer riskMan;

    /**
     * 物质风险
     */
    private Integer riskSubstance;

    /**
     * 自然风险
     */
    private Integer riskNature;

    /**
     * 金融风险
     */
    private Integer riskFinance;

    /**
     * 社会风险
     */
    private Integer riskSocial;

    /**
     * 
     */
    private Integer status;

    private Date createTime;

    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;



    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", ccId=").append(ccId);
        sb.append(", vId=").append(vId);
        sb.append(", fId=").append(fId);
        sb.append(", pId=").append(pId);
        sb.append(", detail=").append(detail);
        sb.append(", riskMan=").append(riskMan);
        sb.append(", riskSubstance=").append(riskSubstance);
        sb.append(", riskNature=").append(riskNature);
        sb.append(", riskFinance=").append(riskFinance);
        sb.append(", riskSocial=").append(riskSocial);
        sb.append(", status=").append(status);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}